* {
    margin: 0;
    padding: 0;
}

ul,
ol {
    text-decoration: none;
}

a {
    text-decoration: none;
}

body {
    background: url(../image/登录页面背景图.jpg);
}

#login_box {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 130px 70px;
    background-color: #00000080;
    border-radius: 10px;
    position: absolute;
}

.title {
    color: #fff;
    position: relative;
    text-align: center;
    bottom: 50px;
}

.input_box input {
    background: none;
    outline: none;
    border: 2px #8abdff solid;
    border-radius: 15px;
    padding: 5px 25px;
    text-align: center;
    color: #fff;
    transition: .3s;
}

.input_box input:hover {
    border: 2px #1d7fff solid;
}

.input_box {
    margin-bottom: 10px;
}

.login_btn {
    position: absolute;
    text-transform: uppercase;
    top: 12em;
    padding: 5px 15px;
    font-size: 24px;
    color: #74b9ff;
    overflow: hidden;
    transition: .3s;
    border-radius: 5px;
    font-family: 楷书;
}

.login_btn::before {
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    content: '';
    width: 50%;
    background: rgba(0, 0, 0, .05);
}

a span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #00000080, #6495ED);
    animation: span1 2s linear infinite;
}

@keyframes span1 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

a span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 120%;
    background: linear-gradient(to bottom, #00000080, #6495ED);
    animation: span2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes span2 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

a span:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, #00000080, #6495ED);
    animation: span3 2s linear infinite;
}

@keyframes span3 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

a span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 120%;
    background: linear-gradient(to top, #00000080, #6495ED);
    animation: span4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes span4 {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.login_btn:hover {
    background-color: #6495ED;
    color: #fff;
}

.login_btn:hover>span {
    background: none;
}

.iconfonts {
    position: absolute;
    top: 19em;
    left: 55%;
}

.iconfonts i {
    margin-right: 1px;
}

.regist {
    position: absolute;
    font-size: 12px;
    top: 29em;
    left: 20%;
}

.regist a {
    color: #fff;
    transition: .3s;
}

.regist a:hover {
    color: #8abdff;
}

.submit{
    width: 100px;
    height: 40px;
    background-color: #8abdff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    color:aliceblue;
}

.submit_box{
    position: absolute;
    top: 293px;
    left: 80px;
}
